// 定制ant的modal样式
.cy-modal-theme {
  .cy-modal-form--txt {
    .ant-form-item-label,
    .ant-form-item-control {
      line-height: 24px;
    }
  }

  .ant-modal {
    padding-bottom: 30px;
  }

  .ant-modal-header {
    border-bottom: 0;
    padding: 20px 30px 10px 30px;
    text-align: center;
  }

  .ant-modal-title {
    font-size: 18px;
    line-height: 30px;
  }

  .ant-modal-body {
    padding: 14px 30px;

    .ant-form {
      padding-left: 10px;
      padding-right: 10px;
    }

    .ant-radio-wrapper {
      margin-right: 30px;
    }
  }

  .ant-modal-footer {
    padding: 10px 30px 30px 30px;
    border-top: none;
    text-align: center;

    .ant-btn {
      min-width: 120px;
      border-color: #d3d6da;
      background-color: #d3d6da;
      color: #fff;

      &.ant-btn-primary {
        background-color: @primary;
        border-color: @primary;
      }

      &:hover {
        opacity: 0.8;
      }

      & + .ant-btn {
        margin-left: 16px;
      }
    }
  }

  &--slide {
    .ant-modal-body {
      max-height: 534px;
      overflow: auto;
    }
  }

  .ant-descriptions-bordered {
    .ant-descriptions-item-label {
      padding: 8px 12px;
      width: 110px;
      color: #797979;
    }

    .ant-descriptions-item-content {
      position: relative;
      padding: 8px 12px;
      min-width: 160px;
      word-break: break-all;
      color: #333;
    }
  }
}
